﻿<%@ Page Title="" Language="C#" MasterPageFile="/Medianamik/MasterPages/MedianamikModule.Master" 
    AutoEventWireup="true" CodeBehind="ForumManagement.aspx.cs" 
    Inherits="Medianamik.UI.Web.Forum.ForumManagement" %>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:LinkButton ID="btnSave" runat="server" Text="<%$ Resources: Medianamik_Global, SaveButtonText %>" CssClass="Action BtSauvegarder SuspendLock" OnClick="Save" />
    <asp:HyperLink ID="lnkCancel" runat="server" Text="<%$ Resources: Medianamik_Global, Cancel %>" CssClass="Action BtAnnuler unlock" />
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">
        <asp:ScriptManagerProxy ID="scriptManagerProxy" runat="server" OnNavigate="OnNavigate">
            <Services>
                <asp:ServiceReference Path="/Medianamik/Services/LockWebService.asmx" />
            </Services>
        </asp:ScriptManagerProxy>
        <asp:UpdatePanel ID="breadcrumbUpdatePanel" runat="server" UpdateMode="Conditional"
            ChildrenAsTriggers="true">
            <ContentTemplate>
                <med:BreadcrumbTrail ID="bctFilAriane" PostBackClientEvent="breadcrumbClick" 
                                   runat="server" CssClass="FilAriane" />
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="uptPanel" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
            <ContentTemplate>
                <med:MedianamikFormTemplate ID="MedFormTemplate" runat="server" DefaultCultureName="en-ca" />
                <asp:HiddenField ID="lockResquestFailed" runat="server" Value="" />
                <asp:HiddenField ID="backOrForward" runat="server" Value="" />
            </ContentTemplate>
        </asp:UpdatePanel>
</asp:Content>

<asp:Content ID="ExternalContent" ContentPlaceHolderID="ExternalContentHolder" runat="server">
    <telerik:RadScriptBlock runat="server" ID="scriptBlock">
        <script type="text/javascript">
            //<![CDATA[
            function confirmLeaveEdition(typeid) 
            {
                alert('todo');
            }

            function breadcrumbClick(clientid, id) 
            {
                alert('todo');
            }

            function Navigate(id, clientId, node)
            {
                alert('todo');
            }
            //]]>
        </script>
    </telerik:RadScriptBlock>
</asp:Content>